package piano;

public enum PianoKeys {
	W1(1,TypeKey.WHITE,"A", 60),
	W2(2,TypeKey.WHITE,"S", 62),
	W3(3,TypeKey.WHITE,"D", 64),
	W4(4,TypeKey.WHITE,"F", 65),
	W5(5,TypeKey.WHITE,"G", 67),
	W6(6,TypeKey.WHITE,"H", 69),
	W7(7,TypeKey.WHITE,"J", 71),
	W8(8,TypeKey.WHITE,"K", 72),
	B1(10,TypeKey.BLACK,"W", 61),
	B2(11,TypeKey.BLACK,"E", 63),
	B4(13,TypeKey.BLACK,"T", 66),
	B5(14,TypeKey.BLACK,"Y", 68),
	B6(15,TypeKey.BLACK,"U", 70);
	
	private int order;
	private TypeKey type;
	private String command;
	private int note;
	
	public int getNote() {
		return note;
	}

	private PianoKeys(int order, TypeKey type, String command, int note) {
		this.order = order;
		this.type = type;
		this.command = command;
		this.note = note;
	}

	public int getOrder() {
		return order;
	}


	public TypeKey getType() {
		return type;
	}


	public String getCommand() {
		return command;
	}
	
}
